file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.h)

add_library(server STATIC ${SOURCES} ${HEADERS})

# 依赖其他核心模块
target_link_libraries(server
    PRIVATE
    common
    event
    io_model
    thread_pool
)

target_include_directories(server
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}
)